refactor to short hand down case in before save callback