updated frontend code to version 2.0