question: public void update ( String wsId , long activityTime ) { if ( expirePeriod > 0 ) { activeWorkspaces . put ( wsId , activityTime + expirePeriod ) ; } }
target:  Update the expiry period the workspace if it exists, otherwise add new one