cleaned up edit_ss_fmpage function