Finally made it working but by getting the values from the session bcz right now due to new api change the values using context.get are not found. :(