Custom function to update Session-Timeout