added save method to manager