Updated Split and Merge functions
split merge update