Relocate code fragment
Update frontend