updated save method to include guest id.